package frsf.cidisi.exercise.idemiatp.situationCalculus;

import frsf.cidisi.faia.agent.Action;
import frsf.cidisi.faia.agent.ActionFactory;

import frsf.cidisi.exercise.idemiatp.situationCalculus.actions.*;



public class AgenteArqueologoActionFactory extends ActionFactory {

    private static AgenteArqueologoActionFactory instance;

    private AgenteArqueologoActionFactory() {
    }

    public static AgenteArqueologoActionFactory getInstance() {
        if (instance == null) {
            instance = new AgenteArqueologoActionFactory();
        }
        return instance;
    }

    @Override
    protected String endActionString() {
        return "noAction";
    }

   
     @Override
   	 protected Action stringToAction(String stringAction) {
        Action actionObject = null;
        
	if (stringAction.equals("irAragaey")) {
            actionObject = new IrAragaey();
        } else if (stringAction.equals("irErgintone")) {
            actionObject = new IrErgintone();
        } else if (stringAction.equals("irBresol")) {
            actionObject = new IrBresol();
        } else if (stringAction.equals("irPeregaey")) {
            actionObject = new IrPeregaey();
        } else if (stringAction.equals("irVinizaile")) {
            actionObject = new IrVinizaile();
        } else if (stringAction.equals("irBulovoe")) {
            actionObject = new IrBulovoe();
        } else if (stringAction.equals("irIcaedur")) {
            actionObject = new IrIcaedur();
        } else if (stringAction.equals("irCabe")) {
            actionObject = new IrCabe();
        } else if (stringAction.equals("irMixocu")) {
            actionObject = new IrMixocu();
        } else if (stringAction.equals("irAse")) {
            actionObject = new IrAse();
        } else if (stringAction.equals("irCenede")) {
            actionObject = new IrCenede();
        } else if (stringAction.equals("tomarCofre")) {
            actionObject = new TomarCofre();

        }
        
        return actionObject;
    }
}
